/**   
* @Title: Entrylist.java 
* @Package com.csis.system.domain 
* @Description: TODO
* @author dailey  
* @date 2012-10-8
* @version V1.0   
*/
package com.csis.system.domain;

import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_ENTRYDATE;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_ENTRYNO;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_ENTRYNOTE;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_PRODUCTCOLOR;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_PRODUCTCOUNT;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_PRODUCTID;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_PRODUCTPRICE;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_PRODUCTSIZE;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_TOTAL;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_USERID;
import static com.csis.system.common.IStaticData.COLUMN_ENTRYLIST_WAREID;
import static com.csis.system.common.IStaticData.TABLE_ENTRYLIST;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author dailey
 *
 */
@Entity
@Table(name = TABLE_ENTRYLIST)
public class Entrylist {
	@Id
	@Column(name = COLUMN_ENTRYLIST_ENTRYNO)
	private java.lang.String id = null;
	@Column(name = COLUMN_ENTRYLIST_WAREID)
	private java.lang.Integer wareId = null;
	@Column(name = COLUMN_ENTRYLIST_ENTRYDATE)
	private java.util.Date entryDate = null;
	@Column(name = COLUMN_ENTRYLIST_PRODUCTID)
	private java.lang.Integer productId = null;
	@Column(name = COLUMN_ENTRYLIST_PRODUCTCOUNT)
	private java.lang.Integer productCount = null;
	@Column(name = COLUMN_ENTRYLIST_PRODUCTCOLOR)
	private java.lang.String productColor = null;
	@Column(name = COLUMN_ENTRYLIST_PRODUCTSIZE)
	private java.lang.String productSize = null;
	@Column(name = COLUMN_ENTRYLIST_PRODUCTPRICE)
	private java.lang.Float productPrice = null;
	@Column(name = COLUMN_ENTRYLIST_TOTAL)
	private java.lang.Float total = null;
	@Column(name = COLUMN_ENTRYLIST_USERID)
	private java.lang.Integer userId = null;
	@Column(name = COLUMN_ENTRYLIST_ENTRYNOTE)
	private java.lang.String entryNote = null;

	@Transient
	Warehouse warehouse;
	@Transient
	Product product;
	@Transient
	User user;
	public java.lang.String getId() {
		return id;
	}
	public void setId(java.lang.String id) {
		this.id = id;
	}
	public java.lang.Integer getWareId() {
		return wareId;
	}
	public void setWareId(java.lang.Integer wareId) {
		this.wareId = wareId;
	}
	public java.util.Date getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(java.util.Date entryDate) {
		this.entryDate = entryDate;
	}
	public java.lang.Integer getProductId() {
		return productId;
	}
	public void setProductId(java.lang.Integer productId) {
		this.productId = productId;
	}
	public java.lang.Integer getProductCount() {
		return productCount;
	}
	public void setProductCount(java.lang.Integer productCount) {
		this.productCount = productCount;
	}
	public java.lang.String getProductColor() {
		return productColor;
	}
	public void setProductColor(java.lang.String productColor) {
		this.productColor = productColor;
	}
	public java.lang.String getProductSize() {
		return productSize;
	}
	public void setProductSize(java.lang.String productSize) {
		this.productSize = productSize;
	}
	public java.lang.Float getProductPrice() {
		return productPrice;
	}
	public void setProductPrice(java.lang.Float productPrice) {
		this.productPrice = productPrice;
	}
	public java.lang.Float getTotal() {
		return total;
	}
	public void setTotal(java.lang.Float total) {
		this.total = total;
	}
	public java.lang.Integer getUserId() {
		return userId;
	}
	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}
	public java.lang.String getEntryNote() {
		return entryNote;
	}
	public void setEntryNote(java.lang.String entryNote) {
		this.entryNote = entryNote;
	}
	public Warehouse getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
}
